rust-bindings: Use OSTree-1.0.gir from our own builddir
authorColin Walters <walters@verbum.org>
Fri, 3 Jun 2022 13:57:12 +0000 (09:57 -0400)
committerColin Walters <walters@verbum.org>
Fri, 3 Jun 2022 13:57:12 +0000 (09:57 -0400)
Now that the projects are unified.

rust-bindings/Makefile

index d579cb45e8ad560cd4ae4ac12bcd526bcd7a3a3f..1630d1797fde627b346cc9b8121e92a7ce2a3fd7 100644 (file)
@@ -49,17 +49,4 @@ gir-files:
        curl -o $@ -L https://github.com/gtk-rs/gir-files/raw/master/${@F}
 
 gir-files/OSTree-1.0.gir:
-       podman build \
-               --pull \
-               --build-arg OSTREE_REPO=$(OSTREE_REPO) \
-               --build-arg OSTREE_VERSION=$(OSTREE_VERSION) \
-               -t ostree-build \
-               .
-       podman create \
-               --name ostree-gir-container \
-               ostree-build
-       podman cp \
-               ostree-gir-container:/build/OSTree-1.0.gir \
-               gir-files/OSTree-1.0.gir
-       podman rm \
-               ostree-gir-container
+       ln -sfr ../OSTree-1.0.gir $@